<p>
  <b>Due date:</b>
  <%=h @milestone.due_date %>
</p>

<p>
  <b>Number:</b>
  <%=h @milestone.number %>
</p>

<p>
  <b>Name:</b>
  <%=h @milestone.name %>
</p>

<%= link_to 'Edit', edit_milestone_path(@milestone) %> |
<%= link_to 'Back', milestones_path %>

<ul>
<% @milestone.todos.each do |todo| %> 
    <li><%=h todo.name %>
<% end %>
</ul>
<% if @milestone.todos.size == 0 %>
<p>no todo</p>
<% end %>
